package ${package}.api.service;

import ${package}.api.model.dto.ApiResponseDto;
import ${package}.api.model.query.ApiRequestQuery;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


public interface ApiService {

    //统一提供端根路径
    String INTERFACE_NAME = "/feign/api";

    @RequestMapping(
            value = "/list",
            method = RequestMethod.POST
    )
    @ResponseBody
    ApiResponseDto list(ApiRequestQuery query);

    @RequestMapping(
            value = "/noApiOperation",
            method = RequestMethod.POST
    )
    @ResponseBody
    ApiResponseDto noApiOperation();
}
